package com.kalvan.admin.dict;

import com.kalvan.web.feign.cache.FeignCacheService;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

/**
 * @author chenliang
 */
@Component
public class CacheUtil {

    public static FeignCacheService cache;

    @Resource
    FeignCacheService feignCacheService;

    @PostConstruct
    private void init() {
        cache = feignCacheService;
    }

}